package com.itheima.mm.service;

import com.itheima.mm.entity.QueryPageBean;
import com.itheima.mm.pojo.Question;
import com.itheima.mm.pojo.User;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface QuestionService {
    List<Question> findListByPage(QueryPageBean queryPageBean);
    Long findTotal(QueryPageBean queryPageBean);

    List<Question> findClassicListByPage(QueryPageBean queryPageBean);

    Question findById(Integer id);

    void add(Question question);

    boolean updateClassic(Integer questionId);
}
